if(WIN32)
FILE(COPY "${CMAKE_CURRENT_SOURCE_DIR}/run_all_test.bat" 
DESTINATION ${PROJECT_BINARY_DIR}/test)
FILE(COPY "${CMAKE_CURRENT_SOURCE_DIR}/run_example.bat" 
DESTINATION ${PROJECT_BINARY_DIR}/)
else()
FILE(COPY "${CMAKE_CURRENT_SOURCE_DIR}/run_all_test.sh" 
DESTINATION ${PROJECT_BINARY_DIR}/test)
FILE(COPY "${CMAKE_CURRENT_SOURCE_DIR}/run_example.sh" 
DESTINATION ${PROJECT_BINARY_DIR}/)
endif()